﻿<%@page language="java" contentType="text/html; character=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html lang="zh">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
    <title>贴吧项目</title>
    <link rel="icon" href="favicon.ico" type="image/ico">
    <meta name="keywords" content="后台模板,后台管理系统,HTML模板">
    <meta name="description" content="基于Bootstrap的后台管理系统模板">
    <meta name="author" content="www.bootstrapmb.com">
    <link href="${pageContext.request.contextPath}/static/admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/admin/css/fonts.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/admin/css/style.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/admin/css/index.css" rel="stylesheet">
    <style type="text/css">
        body {
            background-size: 100%
        }
    </style>
</head>

<body background="${pageContext.request.contextPath}/static/admin/images/11111.jpg">

<!--导航栏盒子-->
<div class="d1">
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container-fluid allwidth">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">欢迎来到博客园</a>
            </div>
            <div>
                <ul class="nav navbar-nav">
                    <li class="active">
                        <a>网站首页</a>
                    </li>
                    <c:if test="${createUser==null||business==null}">
                        <li>
                            <a href="tologin.action">登录</a>
                        </li>
                        <li>
                            <a href="regist.html">注册</a>
                        </li>
                        <li>
                            <a href="tothirdlylogin.action">外卖商家登录</a>
                        </li>
                    </c:if>
                    <%--<li>
                        <a href="indexs.action">我的博客</a>
                    </li>--%>
                    <c:if test="${createUser.rId==2}">
                        <li>
                            <a href="admin/main.action">后台管理</a>
                        </li>
                    </c:if>
                    <c:if test="${createUser.rId==1}">
                        <li>
                            <a href="admin/main.action">用户服务首页</a>
                        </li>
                    </c:if>

                    <c:if test="${business!=null}">
                        <li>
                            <a href="redirect:businessindex.action?businessId=${business.businessId}">外卖商家登录</a>
                        </li>
                    </c:if>
                    <c:if test="${createUser!=null||business!=null}">
                        <li>
                            <a href="exit.action">退出</a>
                        </li>
                    </c:if>
                    <li>
                        <a onclick="window.history.go(-1)" style="cursor: pointer;">返回</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</div>
<!--第一个banner的内容-->
<div class="banner1">
    <div class="container">
        <h1><font style="font-family: '微软雅黑'">校友集</font></h1>
        <h2></h2>
        <p class="masthead-button-links">
            <a style="border-radius: 30px" class="btn btn-lg btn-success btn-shadow" href="https://v3.bootcss.com/css/"
               target="_blank" role="button"
               onclick="_hmt.push(['_trackEvent', 'masthead', 'click', 'masthead-Bootstrap3中文文档'])">Have a firm
                belief is to have a successful half</a>
        </p>
    </div>
</div>
<!--页面主要内容-->
<main class="ftdms-layout-content" style="border-radius: 50px;background-color: #d9d9d9">

    <div class="container-fluid">

        <div class="row" style="margin-top:15px;">
            <div class="col-lg-12" style="border-radius: 30px">
                <div class="card" style="border-radius: 30px">
                    <div class="card-header" style="border-radius: 30px;background-color: #A5C2CC">
                        <h4>表格</h4></div>
                    <div class="card-body">

                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th style="width: 10%">编号</th>
                                <th style="width: 20%">标题</th>
                                <th>内容</th>
                            </tr>
                            </thead>
                            <tbody>
                            <c:forEach var="invitationVO" items="${lis}">
                                <tr>
                                    <th scope="row">${invitationVO.invitationId}</th>
                                    <td>${invitationVO.title}</td>
                                    <td>
                                            ${invitationVO.invitationContent}
                                    </td>
                                </tr>
                            </c:forEach>
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
</main>
<!--End 页面主要内容-->
</body>

</html>